home *** CD-ROM | disk | FTP | other *** search
- *digraph.txt* For Vim version 5.0. Last modification: 1998 Jan 25
-
-
- VIM REFERENCE MANUAL by Bram Moolenaar
-
-
- Digraphs *digraphs*
-
- Digraphs are used to enter characters that normally cannot be entered by
- an ordinary keyboard. These are mostly accented characters which have the
- eighth bit set. The digraphs are easier to remember than the decimal number
- that can be entered with CTRL-V (see |i_CTRL-V|).
-
- 1. Defining digraphs |digraphs-define|
- 2. Using digraphs |digraphs-use|
- 3. Default digraphs |digraphs-default|
-
- {Vi does not have any of these commands}
-
- ==============================================================================
- 1. Defining digraphs *digraphs-define*
-
- *:dig* *:digraphs*
- :dig[raphs] show currently defined digraphs.
-
- :dig[raphs] {char1}{char2} {number} ...
- Add digraph {char1}{char2} to the list. {number} is
- the decimal representation of the character.
-
- Vim is normally compiled with the |+digraphs| feature. If it has been
- disabled, the ":digraph" command will display an error message.
-
- ==============================================================================
- 2. Using digraphs *digraphs-use*
-
- There are two methods to enter digraphs: *i_digraph*
- CTRL-K {char1} {char2} or
- {char1} <BS> {char2}
- The first is always available. The second only when the 'digraph' option is
- set.
-
- If a digraph with {char1}{char2} does not exist, a digraph {char2}{char1} is
- searched for. This will help when you don't remember which character comes
- first.
-
- Note that when you enter CTRL-K {char1}, where {char1} is a special key, the
- code for that special key is entered. This is not a digraph.
-
- Once you have entered the digraph the character is treated like a normal
- character, taking up only one character in the file and on the screen.
- Example:
- > '|' <BS> '|' will enter the double '|' character (166)
- > 'a' <BS> '^' will enter an 'a' with a hat (226)
- > CTRL-K '-' '-' will enter a minus sign (173)
-
- The default digraphs are listed in the file "digraph.txt" |digraph-table|.
- There are two sets: One that is used for MS-DOS and one for the international
- standard character set that is mostly used on Unix systems and the Amiga.
- With the wrong character set they will look illogical.
-
- For CTRL-K there is one general digraph: CTRL-K <Space> {char} will enter
- {char} with the highest bit set. This can be used to enter meta-characters.
-
- The <Esc> character cannot be part of a digraph. When hitting <Esc> the
- entering of the digraph is aborted and Insert mode or command-line mode is
- ended, just like hitting an <Esc>.
-
- If you accidently typed an 'a' that should be an 'e', you will type 'a' <BS>
- 'e'. But that is a digraph, so you will not get what you want. To correct
- this, you will have to type <BS> e again. To avoid this don't set the
- 'digraph' option and use CTRL-K to enter digraphs.
-
- You may have problems using Vim with characters which have an ascii value >
- 128. For example: You insert ue (u-umlaut) and the editor echoes \334 in
- Insert mode. After leaving the Insert mode everything is fine. Also fmt
- removes all characters with ascii > 128 from the text being formated.
- On some Unix systems this means you have to define the environment-variable
- LC_CTYPE. If you are using csh then put in your .cshrc following line:
- > setenv LC_CTYPE iso_8859_1
-
- ==============================================================================
- 3. Default digraphs *digraphs-default*
-
- These are the default digraph characters for Vim.
-
- Besides the digraphs listed below, meta characters can be entered with CTRL-K
- <Space> {char}. Only <Esc> cannot be used for {char}. Use CTRL-V 155 to
- enter meta-ESC (CSI).
-
- The first two characters in each column are the characters you have to type to
- enter the digraph.
-
- In the middle of each column is the resulting character. This may be mangled
- if you look at this file on something other than the system that they were
- meant for or if you print it.
-
- The decimal number is the ASCII code for the character.
-
- *digraph-table*
- Default digraphs on non-MS-DOS, non-Win32 machines:
- ~! í 161 c| ó 162 $$ ú 163 ox ñ 164 Y- Ñ 165 || ª 166 pa º 167
- "" ¿ 168 cO ⌐ 169 a- ¬ 170 << ½ 171 -, ¼ 172 -- ¡ 173 rO « 174
- -= » 175 ~o ░ 176 +- ▒ 177 22 ▓ 178 33 │ 179 '' ┤ 180 ju ╡ 181
- pp ╢ 182 ~. ╖ 183 ,, ╕ 184 11 ╣ 185 o- ║ 186 >> ╗ 187 14 ╝ 188
- 12 ╜ 189 34 ╛ 190 ~? ┐ 191 A` └ 192 A' ┴ 193 A^ ┬ 194 A~ ├ 195
- A" ─ 196 A@ ┼ 197 AE ╞ 198 C, ╟ 199 E` ╚ 200 E' ╔ 201 E^ ╩ 202
- E" ╦ 203 I` ╠ 204 I' ═ 205 I^ ╬ 206 I" ╧ 207 D- ╨ 208 N~ ╤ 209
- O` ╥ 210 O' ╙ 211 O^ ╘ 212 O~ ╒ 213 O" ╓ 214 /\ ╫ 215 O/ ╪ 216
- U` ┘ 217 U' ┌ 218 U^ █ 219 U" ▄ 220 Y' ▌ 221 Ip ▐ 222 ss ▀ 223
- a` α 224 a' ß 225 a^ Γ 226 a~ π 227 a" Σ 228 a@ σ 229 ae µ 230
- c, τ 231 e` Φ 232 e' Θ 233 e^ Ω 234 e" δ 235 i` ∞ 236 i' φ 237
- i^ ε 238 i" ∩ 239 d- ≡ 240 n~ ± 241 o` ≥ 242 o' ≤ 243 o^ ⌠ 244
- o~ ⌡ 245 o" ÷ 246 :- ≈ 247 o/ ° 248 u` ∙ 249 u' · 250 u^ √ 251
- u" ⁿ 252 y' ² 253 ip ■ 254 y" 255
-
-
- Default digraphs for some HPUX machines:
- A` í 161 A^ ó 162 E` ú 163 E^ ñ 164 E" Ñ 165 I^ ª 166 I" º 167
- '' ¿ 168 `` ⌐ 169 ^^ ¬ 170 "" ½ 171 ~~ ¼ 172 U` ¡ 173 U^ « 174
- L= » 175 ~_ ░ 176 Y' ▒ 177 y' ▓ 178 ~o │ 179 C, ┤ 180 c, ╡ 181
- N~ ╢ 182 n~ ╖ 183 ~! ╕ 184 ~? ╣ 185 ox ║ 186 L- ╗ 187 Y= ╝ 188
- pp ╜ 189 fl ╛ 190 c| ┐ 191 a^ └ 192 e^ ┴ 193 o^ ┬ 194 u^ ├ 195
- a' ─ 196 e' ┼ 197 o' ╞ 198 u' ╟ 199 a` ╚ 200 e` ╔ 201 o` ╩ 202
- u` ╦ 203 a" ╠ 204 e" ═ 205 o" ╬ 206 u" ╧ 207 Ao ╨ 208 i^ ╤ 209
- O/ ╥ 210 AE ╙ 211 ao ╘ 212 i' ╒ 213 o/ ╓ 214 ae ╫ 215 A" ╪ 216
- i` ┘ 217 O" ┌ 218 U" █ 219 E' ▄ 220 i" ▌ 221 ss ▐ 222 O^ ▀ 223
- A' α 224 A~ ß 225 a~ Γ 226 D- π 227 d- Σ 228 I' σ 229 I` µ 230
- O' τ 231 O` Φ 232 O~ Θ 233 o~ Ω 234 S~ δ 235 s~ ∞ 236 U' φ 237
- Y" ε 238 y" ∩ 239 p- ≡ 240 p~ ± 241 ~. ≥ 242 ju ≤ 243 Pp ⌠ 244
- 34 ⌡ 245 -- ÷ 246 14 ≈ 247 12 ° 248 a_ ∙ 249 o_ · 250 << √ 251
- xx ⁿ 252 >> ² 253 +- ■ 254 nu 255
-
-
- Default digraphs on MS-DOS and Win32:
- C, Ç 128 u" ü 129 e' é 130 a^ â 131 a" ä 132 a` à 133 a@ å 134
- c, ç 135 e^ ê 136 e" ë 137 e` è 138 i" ï 139 i^ î 140 i` ì 141
- A" Ä 142 A@ Å 143 E' É 144 ae æ 145 AE Æ 146 o^ ô 147 o" ö 148
- o` ò 149 u^ û 150 u` ù 151 y" ÿ 152 O" Ö 153 U" Ü 154 c| ¢ 155
- $$ £ 156 Y- ¥ 157 Pt ₧ 158 ff ƒ 159 a' á 160 i' í 161 o' ó 162
- u' ú 163 n~ ñ 164 N~ Ñ 165 aa ª 166 oo º 167 ~? ¿ 168 -a ⌐ 169
- a- ¬ 170 12 ½ 171 14 ¼ 172 ~! ¡ 173 << « 174 >> » 175 ss ß 225
- ju µ 230 o/ φ 237 +- ± 241 >= ≥ 242 <= ≤ 243 :- ÷ 246 ~~ ≈ 247
- ~o ° 248 22 ² 253
-
-
- Default digraphs for MiNT:
- C, Ç 128 u" ü 129 e' é 130 a^ â 131 a" ä 132 a` à 133 a@ å 134
- c, ç 135 e^ ê 136 e" ë 137 e` è 138 i" ï 139 i^ î 140 i` ì 141
- A" Ä 142 A@ Å 143 E' É 144 ae æ 145 AE Æ 146 o^ ô 147 o" ö 148
- o` ò 149 u^ û 150 u` ù 151 y" ÿ 152 O" Ö 153 U" Ü 154 c| ¢ 155
- $$ £ 156 Y- ¥ 157 ss ₧ 158 ff ƒ 159 a' á 160 i' í 161 o' ó 162
- u' ú 163 n~ ñ 164 N~ Ñ 165 aa ª 166 oo º 167 ~? ¿ 168 -a ⌐ 169
- a- ¬ 170 12 ½ 171 14 ¼ 172 ~! ¡ 173 << « 174 >> » 175 ju µ 230
- o/ φ 237 +- ± 241 >= ≥ 242 <= ≤ 243 :- ÷ 246 ~~ ≈ 247 ~o ° 248
- 22 ² 253
-
- vim:ts=8:sw=8:tw=78:
-